package com.jaux.hotel.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author : JAUX
 * @date : 2023-6-16
 * @desc : 学生表
 */

@Data
public class Student implements Serializable,Cloneable{

    @TableId
    private int stuNum ;

    private String name ;

    private String sex ;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthday ;

    private String classId ;

    private String password;

    private String phone;

    private String code;

    private String createBy;

    private Date createTime;

    private String updateBy;

    private Date updateTime;
}
